<template>
	<view class="u-p-30">
		<u-parse :content="info.content"></u-parse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:'',
				type:''
			}
		},
		onLoad(opt) {
			this.type=opt.type
			
			this.loadData()
		},
		methods: {
			async loadData(){
				let data={
					type:this.type
				}
				const res=await uni.$u.http.post('Content/agree',data)
				this.info=res
			}
		}
	}
</script>

<style>

</style>
